package com.ruoyi.student.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 班级管理对象 t_classes
 * 
 * @author ruoyi
 * @date 2022-12-26
 */
public class Classes extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 班级名称 */
    @Excel(name = "班级名称")
    private String className;

    /** 校区ID */
    @Excel(name = "校区ID")
    private Long campusId;

    /** 班級状态ID */
    @Excel(name = "班級状态ID")
    private Long classStateId;

    /** 班级人数 */
    @Excel(name = "班级人数")
    private Long classSize;

    /** 开班时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开班时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startTime;

    /** 结课时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结课时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endTime;

    /** 班主任ID */
    @Excel(name = "班主任ID")
    private Long directorId;

    /** 班主任姓名 */
    @Excel(name = "班主任姓名")
    private String directorName;

    /** 就业老师ID

 */
    @Excel(name = "就业老师ID")
    private Long employmentId;

    /** 助教老师ID */
    @Excel(name = "助教老师ID")
    private Long assistantId;

    /** 就业老师姓名 */
    @Excel(name = "就业老师姓名")
    private String employmentName;

    /** 助教老师姓名 */
    @Excel(name = "助教老师姓名")
    private String assistantName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setClassName(String className) 
    {
        this.className = className;
    }

    public String getClassName() 
    {
        return className;
    }
    public void setCampusId(Long campusId) 
    {
        this.campusId = campusId;
    }

    public Long getCampusId() 
    {
        return campusId;
    }
    public void setClassStateId(Long classStateId) 
    {
        this.classStateId = classStateId;
    }

    public Long getClassStateId() 
    {
        return classStateId;
    }
    public void setClassSize(Long classSize) 
    {
        this.classSize = classSize;
    }

    public Long getClassSize() 
    {
        return classSize;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setDirectorId(Long directorId) 
    {
        this.directorId = directorId;
    }

    public Long getDirectorId() 
    {
        return directorId;
    }
    public void setDirectorName(String directorName) 
    {
        this.directorName = directorName;
    }

    public String getDirectorName() 
    {
        return directorName;
    }
    public void setEmploymentId(Long employmentId) 
    {
        this.employmentId = employmentId;
    }

    public Long getEmploymentId() 
    {
        return employmentId;
    }
    public void setAssistantId(Long assistantId) 
    {
        this.assistantId = assistantId;
    }

    public Long getAssistantId() 
    {
        return assistantId;
    }
    public void setEmploymentName(String employmentName) 
    {
        this.employmentName = employmentName;
    }

    public String getEmploymentName() 
    {
        return employmentName;
    }
    public void setAssistantName(String assistantName) 
    {
        this.assistantName = assistantName;
    }

    public String getAssistantName() 
    {
        return assistantName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("className", getClassName())
            .append("campusId", getCampusId())
            .append("classStateId", getClassStateId())
            .append("classSize", getClassSize())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("directorId", getDirectorId())
            .append("directorName", getDirectorName())
            .append("employmentId", getEmploymentId())
            .append("assistantId", getAssistantId())
            .append("employmentName", getEmploymentName())
            .append("assistantName", getAssistantName())
            .toString();
    }
}
